package com.spark.lola.logistics.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spark.lola.logistics.entity.Message;
import com.spark.lola.support.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: Zhi-peng wang
 * @date: 2020/06/19 11:17
 **/
@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    IPage<Message> findPage(Page<Message> page, @Param(Constants.WRAPPER) Wrapper<Message> wrapper);

}
